<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>PostgreSQL Functions (PDO_PGSQL)</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-odbc.connection.html">PDO_ODBC DSN</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-pgsql.connection.html">PDO_PGSQL DSN</a></div>
 <div class="up"><a href="pdo.drivers.html">PDO 驱动</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ref.pdo-pgsql" class="reference">
  
  <h1 class="title">PostgreSQL Functions (PDO_PGSQL)</h1>
  
  <div class="partintro">

   <div class="section" id="pdo-pgsql.intro">
   <h2 class="title">简介</h2>
    <p class="para">
     PDO_PGSQL is a driver that implements the <a href="intro.pdo.html" class="link">PHP
     Data Objects (PDO) interface</a>
     to enable access from PHP to PostgreSQL databases.
    </p>
   </div>

   <div class="section" id="pdo-pgsql.resources">
    <h2 class="title">资源类型 </h2>
    <p class="para">
     This extension defines a stream resource returned by
     <span class="function"><a href="pdo.pgsqllobopen.html" class="function">PDO::pgsqlLOBOpen()</a></span>.
    </p>
   </div>

   

<div class="section" id="ref.pdo-pgsql.installation">
 <h2 class="title">安装</h2>
 <p class="para">
  Use <strong class="option configure">--with-pdo-pgsql[=DIR]</strong>
 to install
  the PDO PostgreSQL extension, where the optional <em>[=DIR]</em>
  is the PostgreSQL base install directory, or the path to <em class="emphasis">pg_config</em>.
  <div class="example-contents screen">
<div class="cdata"><pre>
$ ./configure --with-pdo-pgsql
</pre></div>
  </div>
 </p>
</div>




  </div>

  

  






















 <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-pgsql.connection.html">PDO_PGSQL DSN</a> — Connecting to PostgreSQL databases</li><li><a href="pdo.pgsqllobcreate.html">PDO::pgsqlLOBCreate</a> — Creates a new large object</li><li><a href="pdo.pgsqllobopen.html">PDO::pgsqlLOBOpen</a> — Opens an existing large object stream</li><li><a href="pdo.pgsqllobunlink.html">PDO::pgsqlLOBUnlink</a> — Deletes the large object</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-odbc.connection.html">PDO_ODBC DSN</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-pgsql.connection.html">PDO_PGSQL DSN</a></div>
 <div class="up"><a href="pdo.drivers.html">PDO 驱动</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
